function submitDirectoryTreeForm() {
	if (document.DirectoryTreeForm.DirectoryTreeSelect.options[document.DirectoryTreeForm.DirectoryTreeSelect.selectedIndex].value != 'up') { 
		if (document.DirectoryTreeForm.directory.value == '/') {
			document.DirectoryTreeForm.directory.value = '/' + document.DirectoryTreeForm.DirectoryTreeSelect.options[document.DirectoryTreeForm.DirectoryTreeSelect.selectedIndex].value; 
		}
		else {
			document.DirectoryTreeForm.directory.value = document.DirectoryTreeForm.directory.value + '/' + document.DirectoryTreeForm.DirectoryTreeSelect.options[document.DirectoryTreeForm.DirectoryTreeSelect.selectedIndex].value; 
		}
	}
	else { 
		document.DirectoryTreeForm.directory.value = document.DirectoryTreeForm.updirectory.value; 
	}
	document.DirectoryTreeForm.submit();
}